<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    img {
        width: 100px;
        height: 100px;
    }

    * {
        list-style: none;
    }
</style>

<body>
    <h1>结算</h1>
    <ul>

    </ul>

    <script>
        var j = localStorage.getItem('jsym')
        var jsym = JSON.parse(j)
        console.log(jsym);


        jsym.forEach(item => {
            document.querySelector('ul').innerHTML += `<li><img src="${item.img}"></li>
                    <li>${item.name}</li>
                    <li>￥${item.price}</li>`
        })
    </script>
</body>

</html>